package com.inxedu.os.edu.pojo;

import java.io.Serializable;
import java.util.Date;

public class CommentParam implements Serializable {
    public CommentParam(String email, String content, Integer type, Date beginCreateTime, Date endCreateTime) {
        this.email = email;
        this.content = content;
        this.type = type;
        this.beginCreateTime = beginCreateTime;
        this.endCreateTime = endCreateTime;
    }

    public CommentParam(Integer commentId, String email, String content, Integer type, Date beginCreateTime, Date endCreateTime) {
        this.commentId = commentId;
        this.email = email;
        this.content = content;
        this.type = type;
        this.beginCreateTime = beginCreateTime;
        this.endCreateTime = endCreateTime;
    }

    public CommentParam() {
    }

    public Integer getCommentId() {
        return commentId;
    }

    public void setCommentId(Integer commentId) {
        this.commentId = commentId;
    }

    private Integer commentId;
    private String email;
    private Integer pCommentId;
    private String content;

    private Integer type;

    private Date beginCreateTime;

    private Date endCreateTime;

    public Integer getpCommentId() {
        return pCommentId;
    }

    public void setpCommentId(Integer pCommentId) {
        this.pCommentId = pCommentId;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Date getBeginCreateTime() {
        return beginCreateTime;
    }

    public void setBeginCreateTime(Date beginCreateTime) {
        this.beginCreateTime = beginCreateTime;
    }

    public Date getEndCreateTime() {
        return endCreateTime;
    }

    public void setEndCreateTime(Date endCreateTime) {
        this.endCreateTime = endCreateTime;
    }

    @Override
    public String toString() {
        return "CommentParam{" +
                "commentId=" + commentId +
                ", email='" + email + '\'' +
                ", content='" + content + '\'' +
                ", type=" + type +
                ", beginCreateTime=" + beginCreateTime +
                ", endCreateTime=" + endCreateTime +
                '}';
    }
}
